﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020000BB RID: 187
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ArchiveWolfBroGameScRsp : IMessage<ArchiveWolfBroGameScRsp>, IMessage, IEquatable<ArchiveWolfBroGameScRsp>, IDeepCloneable<ArchiveWolfBroGameScRsp>, IBufferMessage
	{
		// Token: 0x17000260 RID: 608
		// (get) Token: 0x06000861 RID: 2145 RVA: 0x000181FD File Offset: 0x000163FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ArchiveWolfBroGameScRsp> Parser
		{
			get
			{
				return ArchiveWolfBroGameScRsp._parser;
			}
		}

		// Token: 0x17000261 RID: 609
		// (get) Token: 0x06000862 RID: 2146 RVA: 0x00018204 File Offset: 0x00016404
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ArchiveWolfBroGameScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000262 RID: 610
		// (get) Token: 0x06000863 RID: 2147 RVA: 0x00018216 File Offset: 0x00016416
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ArchiveWolfBroGameScRsp.Descriptor;
			}
		}

		// Token: 0x06000864 RID: 2148 RVA: 0x0001821D File Offset: 0x0001641D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ArchiveWolfBroGameScRsp()
		{
		}

		// Token: 0x06000865 RID: 2149 RVA: 0x00018228 File Offset: 0x00016428
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ArchiveWolfBroGameScRsp(ArchiveWolfBroGameScRsp other) : this()
		{
			this.wolfBroInfo_ = ((other.wolfBroInfo_ != null) ? other.wolfBroInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000866 RID: 2150 RVA: 0x00018274 File Offset: 0x00016474
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ArchiveWolfBroGameScRsp Clone()
		{
			return new ArchiveWolfBroGameScRsp(this);
		}

		// Token: 0x17000263 RID: 611
		// (get) Token: 0x06000867 RID: 2151 RVA: 0x0001827C File Offset: 0x0001647C
		// (set) Token: 0x06000868 RID: 2152 RVA: 0x00018284 File Offset: 0x00016484
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroInfo WolfBroInfo
		{
			get
			{
				return this.wolfBroInfo_;
			}
			set
			{
				this.wolfBroInfo_ = value;
			}
		}

		// Token: 0x17000264 RID: 612
		// (get) Token: 0x06000869 RID: 2153 RVA: 0x0001828D File Offset: 0x0001648D
		// (set) Token: 0x0600086A RID: 2154 RVA: 0x00018295 File Offset: 0x00016495
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600086B RID: 2155 RVA: 0x0001829E File Offset: 0x0001649E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ArchiveWolfBroGameScRsp);
		}

		// Token: 0x0600086C RID: 2156 RVA: 0x000182AC File Offset: 0x000164AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ArchiveWolfBroGameScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.WolfBroInfo, other.WolfBroInfo) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600086D RID: 2157 RVA: 0x000182FC File Offset: 0x000164FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.wolfBroInfo_ != null)
			{
				num ^= this.WolfBroInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600086E RID: 2158 RVA: 0x00018351 File Offset: 0x00016551
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600086F RID: 2159 RVA: 0x00018359 File Offset: 0x00016559
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000870 RID: 2160 RVA: 0x00018364 File Offset: 0x00016564
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this.wolfBroInfo_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.WolfBroInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000871 RID: 2161 RVA: 0x000183C0 File Offset: 0x000165C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.wolfBroInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.WolfBroInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000872 RID: 2162 RVA: 0x00018418 File Offset: 0x00016618
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ArchiveWolfBroGameScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.wolfBroInfo_ != null)
			{
				if (this.wolfBroInfo_ == null)
				{
					this.WolfBroInfo = new WolfBroInfo();
				}
				this.WolfBroInfo.MergeFrom(other.WolfBroInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000873 RID: 2163 RVA: 0x00018480 File Offset: 0x00016680
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000874 RID: 2164 RVA: 0x0001848C File Offset: 0x0001668C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					if (num != 122U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.wolfBroInfo_ == null)
						{
							this.WolfBroInfo = new WolfBroInfo();
						}
						input.ReadMessage(this.WolfBroInfo);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400031F RID: 799
		private static readonly MessageParser<ArchiveWolfBroGameScRsp> _parser = new MessageParser<ArchiveWolfBroGameScRsp>(() => new ArchiveWolfBroGameScRsp());

		// Token: 0x04000320 RID: 800
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000321 RID: 801
		public const int WolfBroInfoFieldNumber = 15;

		// Token: 0x04000322 RID: 802
		private WolfBroInfo wolfBroInfo_;

		// Token: 0x04000323 RID: 803
		public const int RetcodeFieldNumber = 13;

		// Token: 0x04000324 RID: 804
		private uint retcode_;
	}
}
